#pragma once

namespace v8 {

template <class T> class Handle;
class ObjectTemplate;

}

namespace js {
namespace bindings {
namespace sdl {

struct SdlApp;

void add_globals(v8::Handle<v8::ObjectTemplate>& globals, SdlApp * app);

SdlApp * create_sdl_app();
int run_sdl_app(SdlApp * app);
void free_sdl_app(SdlApp * app);

} // namespace sdl
} // namespace bindings
} // namespace js

